pp108 : Configuring Drill-down from Activity-Level Views

Configuring Drill-down from Activity-Level Views

This topic describes the procedure to configure drill-down from Activity-Level Views.

Note :

  • The composite controls found at the location /Cordys/WCP/Controls/runtime/bam/standardviews/ have been deprecated. Hence, it is recommended to use the composite controls provided in the corresponding sub-folders at /Cordys/WCP/Controls/runtime/bam/standardviews/ with same name as the deprecated contorls.
  • Similarly, the ActivitySelection composite control available at the location /Cordys/WCP/Controls/runtime/bam/genericviews/ has also been deprecated . Hence, it is recommended to use the composite control available at /Cordys/WCP/Controls/runtime/bam/genericviews/activitydashboard/ with the same name.

Configure a drill-down from Activity-Level views to drive from one view to another while making one of the content panes as the Source and other as the Target.

  1. All the Activity-Level Views can be reused as composite controls. In the Untitled Composite Control - Composite Control that appears, ensure that you select the composite controls from Cordys Business Activity Monitoring folder.
  2. You can define a drill-down from the ActivitySelection composite control, available at /Cordys/WCP/Controls/runtime/bam/genericviews/activitydashboard/, to the composite control related to specific Activity-Level views to get the details of a particular activity. Consider the ActivityTasksPerUserPerStatus_SpecificActivity composite control, available at /Cordys/WCP/Controls/runtime/bam/standardviews/activitydashboard/ as an example of Activity-Level views. Perform the following to define drill-down:
    1. Reuse the ActivitySelection and ActivityTasksPerUserPerStatus_SpecificActivity composite controls. The corresponding composite controls are added to the project content tree.
    2. From the project content tree, drag the ActivitySelection and ActivityTasksPerUserPerStatus_SpecificActivity composite controls on to the XForm designer. Consider the ActivitySelection composite control as Source and ActivityTasksPerUserPerStatus_SpecificActivity composite control as Target.
    3. Right-click the ActivitySelection composite control on the XForm designer and select Configure Drill Down. The Message Map dialog box appears.
    4. Map the input parameters of the Source, processName and activityID to input parameters, ProcessName (InputParameters > ProcessName) and ActivityID (InputParameters > ActivityID) of the Target.
    5. Click OK. The Message Map dialog box closes.
    6. Click (Preview). The Preview window appears, displaying a preview of the selected XForm. All 'Activity-Level views' for the selected process and activity appear.
  3. In the XForm preview, you can change the 'Activity-Level views' by performing the following steps:
    1. Select required process name from the Process drop-down.
    2. Select required activity name from the Activity drop-down.
    3. Click (Refresh). All the Activity-Level views for the selected process and activity will appear.
  4. You can define a drill-down from the Activity-Level View to the User-Level Views. Consider ActivityTasksPerUserPerStatus_SpecificActivity composite control related to Activity-Level View and CompletedVsScheduledTasksForActivity_User composite control related to User-Level View. Perform the following to define the drill-down:
    1. As runtime reference, add ActivityTasksPerUserPerStatus_SpecificActivity, InboxView composite controls, and CompletedVsScheduledTasksForActivity_User composite controls, as examples of the User-Level Views. Ensure that you select the ActivityTasksPerUserPerStatus_SpecificActivity, available at /Cordys/WCP/Controls/runtime/bam/standardviews/activitydashboard/, CompletedVsScheduledTasksForActivity_User, available at /Cordys/WCP/Controls/runtime/bam/standardviews/userdashboard/ and the composite controls from the Cordys Business Activity Monitoring folder, and the InboxView composite control from the Cordys Notification folder. The corresponding composite controls are added to the project content tree.
    2. From the project content tree, drag the ActivityTasksPerUserPerStatus_SpecificActivity, CompletedVsScheduledTasksForActivity_User and InboxView composite controls on the XForm designer. Consider ActivityTasksPerUserPerStatus_SpecificActivity composite control as Source and the CompletedVsScheduledTasksForActivity_User and InboxView composite controls as Targets.
    3. Right-click the ActivityTasksPerUserPerStatus_SpecificActivity composite control on the XForm designer and select Configure drill down. The Message Map dialog box appears.
    4. Map the parameters of the Source, ProcessName (InputParmaters > ProcessName) and ActivityID (InputParmaters > ActivityID) to the input parameters ProcessName (InputParmaters > ProcessName) and ActivityID (InputParmaters > ActivityID) of the Target (CompletedVsScheduledTasksForActivity_User composite control).
    5. Map the output parameter Name (ActivityData > tuple > old > GetNumberOfTasksForActivityForStatus > Name) of the Source to the input parameter User (InputParameters > User) of the Target (CompletedVsScheduledTasksForActivity_User composite control).
    6. Map the output parameter Name (ActivityData > tuple > old > GetNumberOfTasksForActivityForStatus > Name) of the Source to input parameter value (Criteria > Parameters > Parameter > value) of the Target view (InboxView composite control). For the input parameter, type of the Target (InboxView composite control), provide a fixed value, 'user'.
    7. Click OK. The Message Map dialog box closes.
    8. Click (Preview). The Preview window appears, displaying a preview of the selected XForm.
    9. In the XForm preview, to drill down to the 'User-Level Views', click the required data-point on No. of Tasks for Activity per Status view.
  5. Similarly, you can add TimeFrame composite control as a runtime reference and use it as a Source. You can map the output parameters, (startTime and endTime) of the TimeFrame composite control to input parameters of the Target (FromDate and ToDate), any of the composite controls related to Activity-Level views.

For more details on drilling down to Inbox, refer to Drill down to Inbox view.
The drill-down from the 'Activity-Level views' are configured.

 

 

 

 

 

 

 

 

 

Related concepts

Standard Views

Related tasks

Configuring Drill-down from Instance-Level Views
Configuring Drill-down from Operational-Level Views
Configuring Drill-down from Process-Level Views
Configuring Drill-down from User-Level Views

Related reference

Process-Level Views
Activity-Level Views
User Level Views
Instance-Level View
Operational-Level Views